﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/SimpleMasterPages.master" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="MasterPages_Default2" MaintainScrollPositionOnPostback="true"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 40%;
            padding-left:5px;
        }
        .style2
        {
            width:20%;
        }
        #extendInfo > tbody
        {
            width:100%;
        }
        .style3
        {
            width: 20%;
            height: 33px;
        }
        .style4
        {
            width: 40%;
            padding-left: 5px;
            height: 33px;
        }
        .style5
        {
            vertical-align: top;
            position: absolute;
            width: 28%;
            height: 33px;
        }
    </style>
    <script type='text/javascript' src = "http://maps.googleapis.com/maps/api/js?key=AIzaSyDB8Le3l-TSxB0fS-zn1kXggrug6E42igQ&sensor=false&language=vi">
    </script>
    <script type="text/javascript">
        var lat, long;
        var marker;
        var geocoder = new google.maps.Geocoder();
        var map;
        window.onload = function () {
            if (map == null) {
                var myOptions = {
                    center: new google.maps.LatLng(0, 0),
                    zoom: 12,
                    zoomControl: true,
                    zoomControlOptions: {
                        style: google.maps.ZoomControlStyle.SMALL,
                        position: google.maps.ControlPosition.LEFT_CENTER
                    },
                    mapTypeId: google.maps.MapTypeId.ROADMAP
                };
                new google.maps.Map(document.getElementById("mapView"), myOptions);
            }
        }
        navigator.geolocation.getCurrentPosition(foundLocation, noLocation);        
        function loadMap(){          
            var point =   new google.maps.LatLng(lat, long);
            var myOptions = {
                center: point,               
                zoom: 15,               
                zoomControl: true,
                zoomControlOptions: {
                    style: google.maps.ZoomControlStyle.SMALL,
                    position: google.maps.ControlPosition.LEFT_CENTER
                },
                mapTypeId: google.maps.MapTypeId.ROADMAP
            };
            map = new google.maps.Map(document.getElementById("mapView"), myOptions);
            marker = new google.maps.Marker({
                position:point,
                title:"Vị trí hiện tại của bạn",
                draggable: true,
                map:map,
                animation: google.maps.Animation.DROP
            });
            // marker.setMap(map);
            google.maps.event.addListener(marker, 'dragend', changeAddress);
        }
        function foundLocation(position) {        
            lat  = position.coords.latitude;
            long = position.coords.longitude;
            document.getElementById('ctl00_sectionContent_latInput').value = lat;
            document.getElementById('ctl00_sectionContent_lngInput').value = long;
            loadMap();
        }
        function noLocation(error) {
            document.getElementById("mapView").style.visibility = 'none';
        }
        function changeAddress(evt) {
            //LatLng newpoint = marker.getPosition()           
            lat = evt.latLng.lat();
            long = evt.latLng.lng();
            var latlng = new google.maps.LatLng(lat, long);
            geocoder.geocode({ 'latLng': latlng }, function (results, status) {
                if (status == google.maps.GeocoderStatus.OK) {
                    document.getElementById('ctl00_sectionContent_tbAddress').value = results[0].formatted_address;
                } else {
                    alert("Geocoder failed due to: " + status);
                }
            });
            marker = new google.maps.Marker({
                position: new google.maps.LatLng(lat, long),
                title: "Vị trí hiện tại của bạn",
                draggable: true,
                map: map,
                animation: google.maps.Animation.DROP
            });
            marker.setMap(map);
        }

        function changeMarker(strAddress) {            
            //var address = document.getElementById(id).value;
            geocoder.geocode({ 'address': strAddress }, function (results, status) {
                if (status == google.maps.GeocoderStatus.OK) {
                    lat = results[0].geometry.location.lat();
                    long = results[0].geometry.location.lng();                   
                    loadMap();
                }
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="asizeleft" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="sectionContent" Runat="Server">
    <div style="border:1px solid #E7EEF6; margin:20px 0px;">
        <header style="padding:10px; color:#3366CC; background-color:#f5f5f5; ">ĐĂNG KÍ TÀI KHOẢN</header>
        <div style="padding:5px;">
            Nếu bạn đã có tài khoản vui lòng <a>đăng nhập</a><br />
            Nếu bạn quyên mật khẩu vui lòng <a>cấp mật khẩu mới</a><br />
            Chấp nhận <a>login</a> với openID:<br />
            <img id="image1" runat="server" style=" height:32px;" alt="" src="<%$ Resources:Images, google %>" />
            <img id="Img1" runat="server" style="height:32px;" alt="" src="<%$ Resources:Images, yahoo %>" />
            <img id="Img2" runat="server" style="height:32px;" alt="" src="<%$ Resources:Images, facebook %>" />
        </div>
        <article>
            <h4 style="display: inline-block; margin-left: 6%; ; padding:15px 20px 3px 0px;color:#3366CC">THÔNG TIN BẮT BUỘC
            </h4>    
            <table style="width: 100%;">                
                <tr>
                    <td colspan="3" style="padding-left: 21%;">                        
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                            ValidationGroup="TaoTK" 
                            HeaderText="Đăng kí thất bại. Sửa những lỗi sau" />
                    </td>
                   
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        
                        <asp:CustomValidator ID="CustomValidator3" runat="server" 
                            ControlToValidate="tbTenDangNhap" ErrorMessage="Tên đăng nhập đã tồn tại" 
                            onservervalidate="CustomValidator3_ServerValidate" ValidationGroup="TaoTK"><span 
                            style="color:red;">*</span></asp:CustomValidator>
                        
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                            ControlToValidate="tbTenDangNhap" 
                            ErrorMessage="Tên đăng nhập không dúng yêu cầu" 
                            ValidationExpression="\w{6,32}" ValidationGroup="TaoTK"><span 
                            style="color:red;">*</span></asp:RegularExpressionValidator>
                        
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                            runat="server" ControlToValidate="tbTenDangNhap" 
                            ErrorMessage="Chưa nhập tên truy cập" 
                            Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                            ValidationGroup="TaoTK"></asp:RequiredFieldValidator>
                        
                        Tên truy cập</td>
                    <td class="style1">
                        
                     <input id="tbTenDangNhap" runat="server" type="text" onmouseout="changeDisplay('ctl00_sectionContent_noteTenDangNhap1','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteTenDangNhap1','block');" 
                            width="200px" class="rowTextBox" /></td>
                    <td class="noteRegister">
                        <asp:Label style="display:none;z-index:111;" ID="noteTenDangNhap1" runat="server" 
                            meta:resourcekey="noteTenDangNhap">Tên đăng nhập từ 6 - 32 kí tự bao gồm chữ và số</asp:Label>
                        <img id="Img3" runat="server" alt="" 
                            style="position:absolute;z-index:110; width: 97%; " 
                            src="<%$ Resources:Images,image1DK %>" />
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ControlToValidate="tbMatKhau" 
                            ErrorMessage="Mật khẩu không đúng yêu cầu" ValidationExpression="\w{6,32}" 
                            ValidationGroup="TaoTK"><span 
                            style="color:red;">*</span></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
                            runat="server" ControlToValidate="tbMatKhau" 
                            ErrorMessage="Chưa nhập mật khẩu" 
                            
                            
                            Text="&lt;span style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                            ValidationGroup="TaoTK"></asp:RequiredFieldValidator>
                        
                        Mật khẩu</td>
                    <td class="style1">
                        
                        <asp:TextBox ID="tbMatKhau" runat="server" 
                            onmouseout="changeDisplay('ctl00_sectionContent_notePass','none');" 
                            onmouseover="changeDisplay('ctl00_sectionContent_notePass','block');" 
                            class="rowTextBox" TextMode="Password" /></td>
                    <td class="noteRegister">                        
                        <asp:Label ID="notePass" style="display:none; z-index:111;" runat="server" meta:resourcekey="notePassResource1">Mật khẩu từ 6 - 32 kí tự bao gồm cả chữ và số </asp:Label>
                        
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        <asp:CompareValidator ID="CompareValidator1" runat="server" 
                            ControlToCompare="tbXNMatKhau" ControlToValidate="tbMatKhau" 
                            ErrorMessage="Xác nhận mật khẩu không chính xác" 
                            ValidationGroup="TaoTK"><span 
                            style="color:red;">*</span></asp:CompareValidator>
                        Xác nhận mật khẩu</td>
                    <td class="style1">
                        
                        <asp:TextBox ID="tbXNMatKhau" runat="server"  
                            onmouseout="changeDisplay('ctl00_sectionContent_noteRePass','none');" 
                            onmouseover="changeDisplay('ctl00_sectionContent_noteRePass','block');" 
                            class="rowTextBox" TextMode="Password" /></td>
                    <td class="noteRegister">
                        
                        <asp:Label ID="noteRePass" style="display:none;z-index:111;" runat="server" meta:resourcekey="noteRePassResource1">Nhập lại mật khẩu ở trên</asp:Label></td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" 
                            runat="server" ControlToValidate="tbLastName" 
                            ErrorMessage="Chưa nhập tên" 
                            Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                            ValidationGroup="TaoTK"></asp:RequiredFieldValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" 
                            runat="server" ControlToValidate="tbFirstName" 
                            ErrorMessage="Chưa nhập tên" 
                            Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                            ValidationGroup="TaoTK"></asp:RequiredFieldValidator>
                        Họ và tên</td>
                    <td class="style1">
                        <input id="tbFirstName"  onmouseout="changeDisplay('ctl00_sectionContent_noteFirstName','none');" 
                            onmouseover="changeDisplay('ctl00_sectionContent_noteFirstName','block');"  style="width:199px;" runat="server" type="text" />
                        <input id="tbLastName" runat="server" type="text"  onmouseout="changeDisplay('ctl00_sectionContent_noteLastName','none');" 
                            onmouseover="changeDisplay('ctl00_sectionContent_noteLastName','block');" 
                            width="200px" /></td>
                    <td class="noteRegister">                        
                        <asp:Label ID="noteFirstName" style="display:none;z-index:111;" runat="server" meta:resourcekey="noteRePassResource1">Nhập họ và tên</asp:Label>
                        <asp:Label ID="notelastname" style="display:none;z-index:111;" runat="server" meta:resourcekey="noteRePassResource1">Nhập họ và tên</asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" 
                            runat="server" ControlToValidate="rbtnList" 
                            ErrorMessage="Chưa nhập tên" 
                            Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                            ValidationGroup="TaoTK"></asp:RequiredFieldValidator>
                        Giới tính</td>
                    <td class="style1">
                        <asp:RadioButtonList ID="rbtnList" runat="server" RepeatDirection="Horizontal"  onmouseout="changeDisplay('ctl00_sectionContent_noteMale','none');" 
                            onmouseover="changeDisplay('ctl00_sectionContent_noteMale','block');"  style="width:199px;" type="text"
                            Width="154px">
                            <asp:ListItem Value="True">Nam</asp:ListItem>
                            <asp:ListItem Value="False">Nữ</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td class="noteRegister">
                        <asp:Label ID="noteMale" style="display:none;z-index:111;" runat="server" meta:resourcekey="noteRePassResource1">Chọn giới tính</asp:Label> 
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" 
                            runat="server" ControlToValidate="ddNoiSinh" 
                            ErrorMessage="Chưa chọn nơi sinh" 
                            Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                            ValidationGroup="TaoTK"></asp:RequiredFieldValidator>
                        Nơi sinh</td>
                    <td class="style1">
                        
                        <asp:DropDownList ID="ddNoiSinh" runat="server" Width="359px" onmouseout="changeDisplay('ctl00_sectionContent_noteNoiSinh','none');" 
                            onchange="changeMarker(this.options[this.selectedIndex].text)" onmouseover="changeDisplay('ctl00_sectionContent_noteNoiSinh','block');" 
                            DataSourceID="SqlDataSourceArea" DataTextField="Name" DataValueField="idArea">
                        </asp:DropDownList>
                        <asp:SqlDataSource ID="SqlDataSourceArea" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:softmarketConnectionString %>" 
                            SelectCommand="SELECT * FROM [Area]"></asp:SqlDataSource>
                    </td>
                    <td class="noteRegister">
                        
                        <asp:Label ID="noteNoiSinh" runat="server" style="display:none;z-index:111;"
                            meta:resourcekey="noteNoiSinhResource">Chọn nơi sinh</asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                            ControlToValidate="tbEmail" 
                            ErrorMessage="Không chấp nhận địa chỉ Email dưới" 
                            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                            ValidationGroup="TaoTK"><span style="color:red;">*</span></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" 
                            runat="server" ControlToValidate="tbEmail" 
                            ErrorMessage="Chưa nhập Email" 
                            
                            
                            Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                            ValidationGroup="TaoTK"></asp:RequiredFieldValidator>
                        Email</td>
                    <td class="style1">
                        
                        <input id="tbEmail" runat="server" type="text" onmouseout="changeDisplay('ctl00_sectionContent_noteEmail','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteEmail','block');"
                            width="200px" class="rowTextBox" /></td>
                    <td class="noteRegister">
                        
                        <asp:Label ID="noteEmail" runat="server" style="display:none;z-index:111;"
                            meta:resourcekey="noteEmailResource1">Nhập chính xác email của bạn</asp:Label></td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                            ControlToValidate="tbMobile" 
                            ErrorMessage="Không chấp nhận số điện thoại dưới" 
                            ValidationExpression="[0+][1-9]\d{8,11}" ValidationGroup="TaoTK"><span 
                            style="color:red;">*</span></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" 
                            runat="server" ControlToValidate="tbMobile" 
                            ErrorMessage="Chưa nhập số ĐT" 
                            
                            
                            Text="&lt;span  style=&quot;color:red;&quot;&gt;*&lt;/span&gt;" 
                            ValidationGroup="TaoTK"></asp:RequiredFieldValidator>
                        Điện thoại</td>
                    <td class="style1">
                        
                        <input id="tbMobile" runat="server" type="text"    onmouseout="changeDisplay('ctl00_sectionContent_noteMobile','none');" 
                            onmouseover="changeDisplay('ctl00_sectionContent_noteMobile','block');" 
                            width="200px" class="rowTextBox" /></td>
                    <td class="noteRegister">                        
                        <asp:Label ID="noteMobile" runat="server" style="display:none;z-index:111;"
                            meta:resourcekey="noteMobile">Nhập số điện thoại ví dụ +84913123456, 0913456789</asp:Label></td></td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        Mã an toàn</td>
                    <td class="style1">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>   
                                <asp:Image ID="ImageCapCha" Height="50px" Width="100px"  runat="server" />
                                <asp:ImageButton ID="btnRefreshCapcha"                                 
                                    runat="server" 
                                    style="display:inline-block; margin-bottom:9px; margin-left:5px; " 
                                    Height="30px" Width="30px"
                                    ImageUrl="<%$ Resources:Images, refreshCapcha %>" onclick="refreshCapcha" 
                                    ></asp:ImageButton>    
                                &nbsp;</td>
                            </ContentTemplate>
                            <Triggers>
                                <asp:PostBackTrigger ControlID="btnRefreshCapcha" />
                            </Triggers>
                        </asp:UpdatePanel> 
                    <td class="noteRegister">
                        
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        <asp:CustomValidator ID="CustomValidator1" runat="server" 
                            ErrorMessage="Nhập mã an toàn không chính xá" 
                            ControlToValidate="tbMaAnToan" 
                            onservervalidate="CustomValidator1_ServerValidate" ValidationGroup="TaoTK" 
                            ValidateEmptyText="True"><span style="color:red;">*</span></asp:CustomValidator>
                        Nhập mã an toàn</td>
                    <td class="style1">
                        
                        <input id="tbMaAnToan" runat="server" type="text" onmouseout="changeDisplay('ctl00_sectionContent_noteMaAnToan','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteMaAnToan','block');"
                            width="200px" class="rowTextBox" /></td>
                    <td class="noteRegister">                        
                        <asp:Label ID="noteMaAnToan" runat="server" style="display:none;z-index:111;"
                            meta:resourcekey="noteMaAnToanResource1">Nhập lại mã an toàn ở hình trên phân biệt chữ hoa và chữ thường nếu có</asp:Label></td>
                </tr>
                </table>
            <h4 style="display: inline-block; margin-left: 6%; ; padding:15px 20px 3px 0px;color:#3366CC">THÔNG TIN THÊM
            </h4>    
            <img src="../Icons/downArow.png" onclick="toggleShowOjb('extendInfo')" style=" cursor:pointer; margin-left: -15px;margin-top: 10px;height:24px; height:24px; position: absolute;"/>
            <table id="extendInfo" style="width: 100%; display:none;">
                <tr>
                    <td style="text-align: right" class="style2">
                        Link ảnh đại diện</td>
                    <td class="style1">
                        
                        <input id="tbLinkAvarta" placeholder="<%$ Resources:Text,NoAvarta %>" runat="server" type="text" onblur="setUrl(this,'ctl00_sectionContent_imageAvarta')" onmouseout="changeDisplay('ctl00_sectionContent_noteLinkAnh','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteLinkAnh','block');"
                            width="200px" class="rowTextBox" /></td>
                    <td class="noteRegister">
                        
                        <img runat="server" id="imageAvarta" alt="" src="<%$ Resources:Text,NoAvarta %>" 
                            style="position:absolute;z-index:110; width: 30%; "  
                             />
                        <asp:Label ID="noteLinkAnh" runat="server" style="display:none; z-index:111;"
                            meta:resourcekey="noteLinkAnh">Nhập link ảnh từ một host bất kì</asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        Số CMND hoặc giấy tờ khác</td>
                    <td class="style1">
                        
                        <input id="tbCMND" runat="server" type="text" onmouseout="changeDisplay('ctl00_sectionContent_noteCMND','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteCMND','block');"
                            width="200px" class="rowTextBox" /></td>
                    <td class="noteRegister">
                        <asp:Label ID="noteCMND" runat="server" style="display:none; z-index:111;"
                            meta:resourcekey="noteLinkAnh">Nhập số CMND, Bằng lái xe hoặc giấy tờ tuỳ thân bất kì....</asp:Label>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        <asp:CustomValidator ID="CustomValidator2" runat="server" 
                            ErrorMessage="Ngày sinh không chính xác" 
                            ControlToValidate="tbNgaySinh" 
                            onservervalidate="CustomValidator2_ServerValidate" ValidationGroup="TaoTK"><span style="color:red;">*</span></asp:CustomValidator>
                        Ngày sinh</td>
                    <td class="style1">
                        
                        <input id="tbNgaySinh" runat="server" type="text" onmouseout="changeDisplay('ctl00_sectionContent_noteNgaySinh','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteNgaySinh','block');"
                            width="200px" class="rowTextBox" /></td>
                    <td class="noteRegister">
                        <asp:Label ID="noteNgaySinh" runat="server" style="display:none;z-index:111;"
                            meta:resourcekey="noteNgaySinh">Nhập ngày sinh dạng dd/mm/yyyy hoặc dd-mm-yyyy. Ví dự: 28/10/1990</asp:Label>
                        </td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style3">
                        Website</td>
                    <td class="style4">
                        <input id="tbWebsite" runat="server" type="text" onmouseout="changeDisplay('ctl00_sectionContent_noteWebsite','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteWebsite','block');" 
                            width="200px" class="rowTextBox" /></td>
                    <td class="style5">
                        <asp:Label ID="noteWebsite" runat="server" style="display:none; z-index:111;"
                            meta:resourcekey="noteLinkAnh">Nhập website của bạn</asp:Label>
                        </td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        Ngân hàng</td>
                    <td class="style1">
                        <asp:DropDownList ID="ddNganHang" runat="server" Width="359px" onmouseout="changeDisplay('ctl00_sectionContent_noteBank','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteBank','block');"
                            DataSourceID="SqlDataSourceBank" DataTextField="Name" DataValueField="idBank">
                        </asp:DropDownList>
                        <asp:SqlDataSource ID="SqlDataSourceBank" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:softmarketConnectionString %>" 
                            SelectCommand="SELECT * FROM [Bank]"></asp:SqlDataSource>
                        </td>
                    <td class="noteRegister">
                        <asp:Label ID="noteBank" runat="server" style="display:none; z-index:111;"
                            meta:resourcekey="noteLinkAnh">Chọn ngân hàng để giao dịch</asp:Label>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        
                        <asp:CustomValidator ID="CustomValidator4" runat="server" 
                            ControlToValidate="tbSoTaiKhoan" ErrorMessage="Nhập số tài khoản" 
                            onservervalidate="CustomValidator4_ServerValidate" ValidationGroup="TaoTK"><span 
                            style="color:red;">*</span></asp:CustomValidator>
                        
                        Số TK Ngân hàng</td>
                    <td class="style1">
                        
                        <input id="tbSoTaiKhoan" runat="server" type="text" onmouseout="changeDisplay('ctl00_sectionContent_noteBankNumber','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteBankNumber','block');"
                            width="200px" class="rowTextBox" /></td>
                    <td class="noteRegister">
                        <asp:Label ID="noteBankNumber" runat="server" style="display:none; z-index:111;"
                            meta:resourcekey="noteLinkAnh">Nhập số tài khoản ứng với ngân hàng ở trên</asp:Label>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        
                        Nơi sống hiện tại</td>
                    <td class="style1">
                        <input type="hidden" id="latInput" runat="server"  />
                        <input type="hidden" id="lngInput" runat="server"/>
                        <input id="tbAddress" runat="server" type="text" 
                            onmouseout="changeDisplay('ctl00_sectionContent_noteBankNumber','none');" onmouseover="changeDisplay('ctl00_sectionContent_noteBankNumber','block');"
                            width="200px" class="rowTextBox" onchange="changeMarker(this.value)" /></td>
                    <td class="noteRegister">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align: right" class="style2">
                        
                    </td>
                    <td class="style1">
                        <div style="height: 300px; width:359px" id="mapView"></div>                       
                       
                    </td>
                    <td class="noteRegister">
                        &nbsp;</td>
                </tr>
                </table>
                <div style="padding-left:20%; padding-top: 10px;">
                    <input id="checkAgree" onchange="toggleEnable('ctl00_sectionContent_btnTaoTK')" type="checkbox" />
                    <span>Đồng ý với các </span>
                    <asp:HyperLink 
                        ID="linkDieuKhoan" runat="server" 
                        NavigateUrl="<%$ Resources:Text, WebsiteName %>"  
                        meta:resourcekey="linkDieuKhoan">điều khoản</asp:HyperLink> <br />
                    <asp:Button class="btnGray" style="margin-left:100px; margin-top:10px;" 
                        ID="btnTaoTK" runat="server" 
                        meta:resourcekey="btnTaoTK" Enabled="False" ValidationGroup="TaoTK" 
                        onclick="btnTaoTK_Click1" Text="Tạo tài khoản" />                        
                                 
                </div>
        </article>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="asizeright" Runat="Server">
</asp:Content>

